<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        li {
            list-style: none;
        }

        div {
            display: flex;
            width: 500px;
            height: 300px;
            background-color: pink;
        }

        div li {
            float: left;

        }

        div ul li:nth-child(even) {
            /* padding: 0 20px; */
            margin: 0 20px;
            width: 1px;
            height: 12px;
            background-color: #fff;
        }

        @font-face {
            font-family: 'icomoon';
            src: url('fonts/icomoon.eot?9ezyqi');
            src: url('fonts/icomoon.eot?9ezyqi#iefix') format('embedded-opentype'),
                url('fonts/icomoon.ttf?9ezyqi') format('truetype'),
                url('fonts/icomoon.woff?9ezyqi') format('woff'),
                url('fonts/icomoon.svg?9ezyqi#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
            font-display: block;
        }

        div li::after {
            font-family: 'icomoon';
            content: "\e902";
        }
    </style>

</head>

<body>
    <div>
        <ul>
            <li><a href="#">我是a</a></li>
            <li></li>
            <li>21r42r</li>
            <li></li>
            <li>21r42r</li>
            <li></li>
            <li>21r42r</li>
            <li></li>
        </ul>
    </div>

</body>

</html>